package com.juzipi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.juzipi.inter.mapper.PaperMapper;
import com.juzipi.inter.pojo.Paper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author juzipi
 * @Date 2021/4/14 17:40
 * @Info
 */
public interface PaperService extends IService<Paper> {


    /**
     * 查询所有试卷集合
     * @return
     */
    List<Paper> queryAllPaper();

    /**
     * 根据试卷id查询试卷
     * @param paperId
     * @return
     */
    Paper queryPaperById(Long paperId);


}
